/*
 * @Author: jingfuu@163.com
 * @Date: 2024-12-04 13:25:56
 * @LastEditTime: 2024-12-16 09:33:09
 * @Description: 日志记录注解
 */
// log.decorator.ts
import { SetMetadata } from '@nestjs/common';
import BusinessType from '../enum/BusinessType';

export interface LogOptions {
  title: string;
  businessType?: BusinessType;
}

export const Log = (options: LogOptions) => SetMetadata('logOptions', options);
